
//设置token 
export function setAuthCache(key, value) {
  return localStorage.setItem(key, JSON.stringify(value))
}

export function getAuthCache(key) {
  return JSON.parse(localStorage.getItem(key))
}

//清除本地
export function clearCache() {
  return localStorage.clear()
}